<tr id="table_<%=table.id%>" class="html_block published">
  <td class="first"/>
  <td class="name">
    <div class="dividers">
      <%=Table.get_table_category(table.type.to_s)%>
    </div>
  </td>
  <td class="name">
    <div class="dividers">
      <%=table.name%>
    </div>
  </td>
  <td>
    <div class="dividers">
      <b><span id="<%=table.id%>_users_count"><%=table.users_count%></span></b>  位
      <%if table.users_count>0%>
        <%=link_to_remote image_tag("blank.png",:title => "查看概要",:class=>"about_item"),:update=>"table_#{table.id}_users",:url=>{:controller=>"tables",:action=>"query_users",:id=>table.id}%>
        <div id="table_<%=table.id%>_users"></div>
      <%end%>
    </div>
  </td>
  <td class="block_status">
    <span class="buttons">
      <%= link_to_remote image_tag("blank.png",:title => "编辑餐桌信息",:class=>"edit_item"), :update=>"edit_place_#{table.id}",:url=>{:controller=>'tables',:action=>'show_edit',:id=>table.id},:complete=>"Element.toggle('edit_place_#{table.id}');return false"%>
      <%= link_to_remote image_tag("blank.png",:title => "删除",:class=>"delete_item"), :url=>{:controller=>"tables",:action=>"delete",:id=>"#{table.id}"},:class=>"style='float:right'"%>
    </span>
  </td>
</tr>
